{extends file='layout/main.html'}
{block name="main"}
<div class="main_title">
	<h2>添加照片</h2>
</div>

<form action="?url=item/create" method="post" accept-charset="utf-8">
	<input type="hidden" name="info[category_id]" value="{$smarty.get.cid}">

<div class="con_blk">
  <h3 class="light_gray">照片</h3>
	{include file="lib/upload.html" upload_name="info[url]" }
</div>
<div class="con_blk">
  <h3 class="light_gray">排列顺序</h3>
	<input type="text" name="info[view_order]" class="text" value="{$data.view_order}">
</div>

</form>

<div class="btn_blk b_t">
	<div class="fr">
		<a href="#" class="btn2 fr ml20 cancel">取消</a>
		<a href="#" class="btn1 fr save">确定</a>
	</div>
</div>

{/block}